make sure non-local mkdir works