processRenames = (files, includeRenameFrom = true) =>
  files.reduce((flattened, file) => {
    if (RENAME.test(file)) {
      const [to, from] = file.split(RENAME)
      if (includeRenameFrom) flattened.push(from)
      flattened.push(to)
    } else {
      flattened.push(file)
    }
    return flattened
  }, [])
From list of files, split renames and flatten into two files `to`NUL`from`.
@param {string[]} files
@param {Boolean} [includeRenameFrom=true] Whether or not to include the `from` renamed file, which is no longer on disk