Added sanity checking to VFS_OPEN

UCC git Repository :: git.ucc.asn.au