Fix for window builds due to java.nio
stderr for error messages