fixing attachment file handoff due to save() race conditions for getting metadata