Avoid unnecessarily file transfers from worker to submit node.
See also Savannah #102572.
Added variable quoting.