* fix(storage): Fixed an issue with the SFTP path history
Added path validity checks when processing the SFTP path history
Standardized the format of stored paths and removed extra slashes
* refactor(sftp): Standardize SFTP path handling and optimize resource management
Extract path normalization logic into a separate method: _normalizeSftpPath
Ensure that the SFTP client is properly closed after use