Forgot to open file as writable