Simplify some VFS-related code.
Merge pull request #125 from lioncash/ui

Simplify some VFS-related code.