Specifying time_precision in write calls

Fixing issue #16