Handle tilde ~ character in homedirs

Attempt to fix https://github.com/Zillode/syncthing-inotify/issues/2
Merge pull request #3 from jpjp/patch-1

Handle tilde ~ character in homedirs