make getattr and readdir almost work

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>