Fix date string parsing

SimpleDateFormat doesn't know how to parse dates containing the literal
'Z' as time zone, so we replace it with "+0000".