fixed resource files--stripped out anything that threw an error in response to .encode('utf8')