Paths with a stroke are not flattened when exporting to UFO

Paths with stroke are not flattened while exporting UFO, and appear as open paths.