Attachment read mode 'r+' incorrect

'r' mode is fine, because you do not change the attachment as you read it.