fix loading/saving on camera intrinsics