Gitlab incorrectly routes blobs to the compare controller depending on filename.

When a repository contains a file such as "compare.png", the user cannot view the raw file as gitlab tries to route to the compare controller.