Changed function to open attachments for Windows Metro Apps