Fix gif parsing for image versioning.
Merge pull request #1 from ZocDoc/GifsAreNotParsedCorrectly

Fix gif parsing for image versioning.