10.9: seemingly need to tiny sleep before exiting, otherwise
cannot properly paste copied files to Mail.app