cleanup some imports in docdownloader