Improve error message for situations where user accidentally reads dir