Sharapova survives teenage US Open scare