Since we're using an old fixed version of coverage.py, we can monkey-patch it
to significantly increase its performances. This commit adds memoization around
a syscall-intensive function, giving around +50% in performances on my
benchmark (#9).