Preserve newlines when copying from Jython Shell.

[1303]