Added try/except to uri opener usages to write to stderr.