Added possibility to turn off "Unable to open file" exception

In my company we have some problems with the "Unable to open file" exception. In some cases the file is not available and this exception causes an 500 error for the whole request. I assume that it is useful in some cases, but in many cases the result should be rendered with a broken image rather than throw an error.