Improved print performance on windows