Only display nanoseconds if Time supports it

In ruby 1.8 Time only supports usec precision. Thanks to @myronmarston
for code.