inotify: workaround ENAMETOOLONG by using symlinks
If we can't create the unix socket because the path is too long
we create the socket in a temporary directory and symlink it into
the repo.
Fix
issue1208
inotify: deactivate inotify status on failure
workaround
issue1208, add test
fix traceback handling (socket.error is a singleton in this case)