inotify: handle unicode paths

The rest of watchdog appears to enforces rule #1 about encoding, but the inotify part does not. This fixes that. I guess checking locale is truly correct way of doing it but at least it handles the 99.9%