Make Snapshot tests pass on Windows

editor.getConfiguration.getNewline() would always return \n, contaminating
the testing buffer when clipboard contents are pasted.
Paste editor newline instead of hardcoded newline

Fixes #345