Add spec for IO#write return value with multibyte strings
Fix return value for IO#write
Merge remote-tracking branch 'origin/master' into compiler