allow cython cache dir to be deleted

workaround by clearing the distutils mkpath cache, which prevents it from ever
creating a given path more than once.

closes #3010