Fix strange dates due to SimpleDateFormat not being thread safe