Added :gsub("\\\n","\\n") to string serialization

this is because string.format("q","\n")=="\\\n"
which can break some database programs
Merge pull request #195 from infinikiller64/patch-1

Added :gsub("\\\n","\\n") to string serialization