If I have a string variable with the value '\n' how do I output it to a file with the value of '\012' instead ? Thank you in advance!