More resilient timestamp parser. Fixes #32