fs: Fix handling of nanoseconds in stats dates