Don't use filename to determine EOFness

See https://github.com/MoarVM/MoarVM/issues/160
Allow passing of length = -1 to MVM_string_utf16_encode_substr

See https://github.com/MoarVM/MoarVM/issues/161