fix for windows lua interpretor not sending to stdout correctly