tests: fix error reporting from Mkdir calls
tests: fix error reporting from Mkdir calls

Whenever the creation of a directory fails, it was trying to report an
error from an outer scope.

beni55/fsnotify-1,fsnotify/fsnotify,qida/fsnotify,mingshun/fsnotify,jsix/fsnotify,treejames/fsnotify,fsnotify/fsnotify,howeyc/fsnotify,masahide/fsnotify,omeid/fsnotify,scalingdata/fsnotify-v1,springning/fsnotify,wheelcomplex/fsnotify,opsmatic/fsnotify,beni55/fsnotify,justintung/fsnotify,fsnotify/fsnotify,FactomProject/fsnotify,streamrail/fsnotify