renameImageForSave = (filename, lang) => {
  return `${filename}_to_${lang}.txt`;
}
Appends a .txt suffix to the image name.

@param {string} filename Name of a file.
@param {string} lang Language to append.
@returns {string} The new filename.