Macs have an issue with writing into two files opened at the same location; fixed