[server] return the new file id from put_file rpc

The new file id is sent back in http response for mobile clients