Properly escape dir field
Merge pull request #181 from Maff-/escape-updateAll

Properly escape dir field