[models] file open error check
[texture] image loading small check