check for the existence of the crash directory