Remove cstdio references, depend on util.h instead.