Close the RandomAccessInputStream in a finally block

As the stream is wrapping a byte array, there isn't a file handle
involved; this can't really hurt though.