Bug 960822 - Follow-up: use StringBeginsWith instead of Truncate+EqualsLiteral.  r=dholbert