making utf-8 the default enconding to write and read files