files: don't change file format when inserting into an existing buffer

This fixes https://savannah.gnu.org/bugs/?52392.
1 file changed