Woman barely escapes oncoming subway train