how to create text file in python 3