redirect file open operations via LD_PRELOAD