pegasus-kickstart: Interpose read, write, and close