Add replacement for http.Dir().