Remove trailing spaces in filenames

FAT does not support trailing spaces, so we must remove them
Fixed last commit

Fixed last commit. Which consisted in removing trailing spaces in filenames, as they are not supported in FAT filesystem.
Merge branch 'master' of git://github.com/LatinSuD/AntennaPod into LatinSuD-master
Added tests to FilenameGenerator