fix for issue #254
more thorough error checking
more succinct way to get file sizes
Merge branch 'master' of https://github.com/JFreegman/toxic into groupbot