Changes to symbol_helper.

 * is_cached is more self contained
 * do not use urllib to open files, just use os.open