Speed up FileTest.directory? by ~40%