__open*_2 wrappers

This fixes #6