Registering file system access event handler when running on a server, too, fixes #665.