Probably the rewriting is only done on the program loaded into RAM?
Hmm, possibly, though that wouldn't really make sense, why not just execute itself at that point?
No, there's a discussion upthread about running on Darwin that specifically says you have to run as `bash ./foo` first time and `./foo` thereafter because it overwrites on disk.