Converted nsDirectoryViewer to use NewChannel2