fix problem with time stamp on non-watcom platform (now use consistently stat function)
rework directory cache to be working on all platforms
use of directory cache is now configurable by macro USE_DIR_CACHE and now is cache used only if compiled by OW