Improve error message
Don't allow trailing spaces in filenames
Bump version