Utility to PUT a local file to an HTTP server