Parsing of Attachment record type

This pull request adds support for parsing Attachment record types as discussed in #18 (related to #4).