Fix pulling off full file name extension when people add extra periods
Fix bz2. Add 7z. Fix files with extra . in them.
Merge pull request #4 from JeremiahDJordan/master

Fix some stuff for names with lots of "." in them, also fix bz2 and add 7z