IOStreams eofbit/failbit Fix

Fixed the IOStream extractors for Strings and CodePoints to properly set eofbit and failbit.