Modify output.py library for using in Windows