*sum: give errors when trying to sum irregular files