filemon: fix watch IDs to avoid potential wraparound issues