Capture error and throw exception on Stream fopen