using Dir.mktmpdir;after send_file, rm the tmpdir