Stop attachment bodyURL crashing
Merge pull request #9 from mrloop/attachment_body_url

Stop attachment bodyURL crashing when outEncoding is NULL