bugfix: don't write core.* files