Very weird. Only thing I can think is that there's some sort of daemon runnning in the background and rewriting it... but i dont know why there would be