unit handling for hoomdxml writer