Tweak the vtk octree level export logic

This commit corrects a couple snprintf errors and uses an uint8_t array
to store the level data during a binary vtk export.