The call to `os.system('rmdir /S /Q ...')` seems strange. Maybe we should add a FIXME reference if there's some bug in our filesystem wrappers.