Barty overcomes scare to reach French Open second round : vi