fix fsstream