runner: Split up upload_and_run_script

This allows us to easily specify different timeouts for uploading and
running the script.