Use resource_string instead of __file__.