Fix for issue #21: Control characters are not unescaped