rename writeLine to writeString, add writeLine

Since WriteLine doesn't add line ending for now