VFS: Better exception and error handling