fix write/read in types_six_dof_expmap

Some types in types_six_dof_expmap did not write / read the camera id
while saving / loading a file from the disk. This fixes the issue
pointed out in #30 but changes the file format for those types.