Properly escape folder/file names and fixed date representation in emails