Normalise behaviour of bit shifts on strings