Strip possible spaces from file names