More refactoring

Remove duplicate code for handling OS X and non OS X download of
paks/maps.