package wipe: work around random files

Fixes #2433.