fixed read-only files handling, fixed freeze on errors
Merge branch 'master' of https://github.com/zerovm/zerovm-cli