Moving dbgout and returncode out of rbf and into a util folder.