Support FileRegion in NIO and OIO transport