use 'resource_stream' for compatibility with frozen distributions