A python extension that writes coredump to local file.