I/O functionality for PathPlayer

I/O for trajectories in PathPlayer. Added also the possibility to append trajectories to files, so that multiple sequence can be saved in one file, and replayed later.