BUG_FIX: file api was writing from the end of file instead of overwriting
saving arm pose for grasping works