NBT writing bug finally fixed.
NBT module might need some further reworkings according to the
management whether one should write the names/types of tags.
Changed vector.at() access in not-const method to operator[].