Replace underscores in dates with spaces before parsing