Round time to nearest millisecond when serializing for CQL

Previously we were using '%L' which implicitly rounds down to millisecond
precision.

Fixes #164