Convert close/create/open into vsyscall hooks.

#709