doesDirectoryExist always returns False on Mac OS X