bugfix & enabled expirations

Bugfix: must add os.path.sep to common prefix comparison
Feature: Enabled cleanup