dns_op: throw exception with gai_strerror() if an error occurred
fs_core.cpp: find file_entry from its parent dir
file,dir cast: throw an exception if given entry is null