#4764 set IOError.filename when trying to open a directory on POSIX platforms
3 files changed