fix picture read failer bug

- use open-uri
- trap exceptions