Automatically grab and save core dumps if any are generated