Fix crash when /etc/{fstab,hosts} is unreadable.