On Windows, exceptions were being thrown, because pipes is referenced even after the imports failed