Fix speed regression

...since 8d443f62c, faster than 1.3.4 now

Thanks to @ladislas for spotting the problem and pointing towards the culprit of variable assignment types.

Audited *some* use of := vs. =, when calling shell/foreach/wildcard, could probably do with more looking into.