Moved minidump writing to a external process.