One of my pet peeves as a "programmer" (by which I mean, "whenever I write something hopefully restricted to my own use") is when I find code that closes a file and doesn't check for an error from the close.
It's why all my perl programs tend to have something like "close(FD) or warn;" in them. Who knows when your disk will disappear, or suddenly become read-only?