Fix for #114 - Fix permission denied error when viewing files in user directory

Fixes #114

Also make permission error messages more informative.
I'll replace this with a getName() method for the viewers.