Escapes a file on the host so it can be sent over network and echoed into a file on the target.