stdio version of toupper