Fixed tmp directory in AttachmentUploader