replace literal newline with actual newlines when reading results (fixes #57)