Improved error messages when interface is a file or directory - #74