Store compression size as network order and convert back on fetch

This should be backwards compatible with previous versions.