smbcacls: Move SidToString to common file