IO: protect Directory class against NREs via ArgumentNullExceptions