Instead of downloading the commons dump, have you considered using $wgForeignFileRepos compared to the sumps, althought this would need a web connection for it to work properly. They have a example for how to set it up to work with files from commons: http://www.mediawiki.org/wiki/Manual:%24wgForeignFileRepos#Using_files_from_...