correctly open attachments with new path on OSX (paths containing white spaces)