Fall back from snprintf to sprintf for C89 compatability