Annoyingly, having two names spaces both named 'io' causes issues. So
the custom io package had to be renamed.