Clean out the mako temp dirs before running tests

[LMS-11221](https://openedx.atlassian.net/browse/LMS-11221)