ctf-return-to-libc: fix file output