Catch exceptions during get information about file

Resolves https://github.com/codio/client/issues/3588