files-backend: use `die("BUG: ...")`, not `die("internal error: ...")`