I have no idea why, but without the `str()` coercion I was getting `TypeError`-s even they're already strings.

What's especially weird is that when trying out the same command from the Python REPL, the coercion wasn't needed.