Add support for proxying fopen calls to the parent