Fix stat commands for exact match

Otherwise, `/etc/passwd` might belong to `roo`.