* chore: update golangci-lint config and fix lint issues
* fix: Improve error handling and fix wrong compress dir for windows * refactor: Refactor fileutil package for pass linter