fix typo in resource cleanup of fs provider