add missing dst arg to chflags

in `atomic_writing/_copy_metadata`

typo in #6453