Converted nsDataObj to use NewChannel2