Poorman's sprintf