Simple fix for spaces in filenames with the template module.