Stripped old helpers for running sync processes
In case we fail to create a remote temporary file, do not return stdout

Instead we return an empty string and notify of the error.