Fix for CSS copying on windows issue

Good idea. I've updated the code with this method.