io_dir_exists [function]
io_dir_exists( string dir )
checks if directory exists and is accessible by the process at the moment, returns true on success, false otherwise
- uses the C library functions opendir,closedir where supported properly, Windows API Find*** functions otherwise