async with open(...)
See explanation in https://github.com/davidhalter/jedi/pull/1819#issuecomment-970776091