Ensure files are read with the proper encoding