pathlib.write_{bytes,text}
(cherry picked from commit cb6a662bb0) Co-authored-by: sobolevn <[email protected]>
cb6a662bb0