Add support for mkdir, dir + add fileExists util

I was needing a way to create directories and check if files exist (sadly, the latter not so easy with smbclient).

I had to refactor `runCommand` a bit because these commands only take one argument. It's probably not ideal to have `runCommand` and `execute` (can be unclear which to use), but I wanted to maintain backward compatibility.