Some fixes for file pane

- avoid crash for unreadable directories (issue #11)
- refresh file pane after opening it