Strangely, both OSError and IOError may throw

with the same errno! (6)