Updated Avatar and Attachment converter: Check read/write permissions