Implement Attachment downloads in emulator