upload_file: version that streams data from client

Doesn't seem to work.