error::wrap test case refactoring.
filesystem::basic_stream::close() bug fix.