add Stream::close() call

implemented for FileStream so far