Python module to clean a directory