Fixing a bug caused by GoDaddy's servers not sorting files in a directory correctly