Enhanced open system call to open a master side file under /lib
directory.