Bug fix: escaping of newline and tab fixed