Removed dependency on open-uri gem