base-files: fix default pre-/postrm for packages with a dot