use contents manager to handle redirect of /notebooks -> /files

avoids 404 on /files for visiting a nonexistent notebook