Windows compatibility: strftime doesn't have %F

Replace %F with %Y-%m-%d, as Windows' strftime does not
support %F, so we should not rely on it being available.