Block::createDataArray: Add optional dtype override

This should be the last part of issue #293