add end of run cleanup of /cores/, important on osx