Refactor|libcommon: Switched all remaining sources dealing with save state IO to C++