Fix bad download with "." in filename

L Waver <xlightwaverx@gmail.com> from crackflashers was the one whom fixed this bug and reported it to me. Downloads from directories before, such as devicename/cm10.1/file.zip would fail because the pregmatch would catch the . in the folder name. Now cm10.1 is a valid download path