Improve OSFileIsDirectory behavior