Remove uses of universal newlines mode; fix logger.warn -> logger.warning
Merge pull request #194 from enthought/fix-deprecation-warnings

Fix some deprecation warnings