Template fixes in /cg/io. Should compile now.
Merge branch 'master' of https://github.com/ZumZoom/cg