Quote subshell operator

Prevents it being expanded when the file is being written.