Fixed issue: Files with spaces cannot be attached to email templates