Fixed readdir option (oops!) + more useful log