Fix newlines on Mac. Still need to test remotely.

Basically just changed '\n' to "\n" in this line:

    return shellescape(join(a:listOfLines, "\n"), 1)

Not sure if this will still work remotely.