Make print_number work for negative numbers again.

Refs #4865