Handle qfs errors more correctly.