fixed a bug I created when I started using OpenOrCreate, file wasn't
getting truncated before writing, man that was stupid.