Sugar/GNOME stats: Improve format and use printf

Use epoch time. Make the time the first column.

Using bash printf directly has better performance.