Weird windows bug: http://bugs.python.org/issue20844. This works around it.