if this makes a line longer than the shell can handle, you'll get an error on the remote side and fail silently. Better to use the existing `write_file` which figures out max length automatically.