Add PostFileToUrl overload that can upload a file to a url