Added some handling for carriage-return weirdness in Cygwin, and the
Pymode plugin for Vim.