Bug fix

Memory was being free'd in an inappropriate if statement.
Bug fix

The cell data section of the vtu file was not being properly closed when
only writing octree level data.
Export octree level data in uint8 format