fix for null dates in shape file export