Format content versions when writing to file