Post a file to a host with Ruby