Contributes to issue CURA-9409.
We shouldn't unpack the list. The first argument is allowed to be a list. If we unpack it, it'll override other arguments to the call function that would be the wrong type then (buffer size). Contributes to issue CURA-9409.
Rmdir crashes when it needs to delete just one file, annoyingly. Contributes to issue CURA-9409.
This has not been tested yet at all. Contributes to issue CURA-9409.