Fix writing to files