Attachment tweaks

Content-Type setting and default file names.