Block::createDataArray: Add data_type and shape args

Part of issue #293.