Dump files and generate HTML report when happen process exit