#133: create directory before inotify while loop

Resolves #133.