fix translation of file related error messages