Fixing a bug that would cause failure when running on a non-windows
platform. Updating for proper pep8/pyflakes compliance.