python windows open file invalid argument