[Ide] Add support for Save action to FileEntry
[Ide] Improve error reporting for IO exceptions
[Ide] Improve error reporting when exporting policies

Fixes bug 23162 - XS throws exception on doing Export Policy to specific file.