Fix proxying for urls that end with gif, jpg, etc.