Avoid arbitrarily blocking file load protocols

Moves dependency onto file reader for file read errors.

https://github.com/mulesoft/raml-client-generator/issues/6