add support for more file attachment types
Merge pull request #607 from fermionic/20130204-attach-types-are-too-coarse

add support for more file attachment types