[http] Remove temp files when upload is canceled.