Replaces aiofiles with anyio, because anyio.Path is much more complete and comparable to the Pathlib API.