how to reliably open a file in the same directory as a python script,"f = open(os.path.join(__location__, 'bundled-resource.jpg'))"