Fixes opening attachments containing spaces