Overwrite OnFatalError to create a heapdump