Fix the session id bug which meant split files were being given lots of different id's, breaking the merging process.
PNG metadata reading and writing. Mostly working (hopefully) but still need to do case where a new metadata chunk needs to be added alongside existing ones.