Remove dirs from workspace after using them in pydoc filter.