make Kernel#open stubbing work

Implementing the missing tests is left as an exercise ;-)