Create wrap_open.c

wrap_open.c is the shared library that captures open() and close() functions for gcc and clang.