[minor] fix unbound local var in file_manager
Merge pull request #782 from pdvyas/hotfix-filemanager-19aug

[minor] fix unbound local var in file_manager