Fixes an issue where an extra newline is added when writing formatted code to stdout. Closes https://github.com/apple/pkl/issues/1346
Fixes an issue where an extra newline is added when writing formatted code to stdout. Closes https://github.com/apple/pkl/issues/1346