US retailer Safeway has moved to block a potential hostile takeover by investment vehicle Jana Partners, LLC.