[python] OSError [Errno 22] invalid argument when use open() in Python