pathlib.write_{bytes,text}
(cherry picked from commit cb6a662bb0) Co-authored-by: sobolevn <mail@sobolevn.me>
cb6a662bb0