httputil/put: Add support for os.File