Detect if blob binaryness changes after loading all data
Extracted from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11777
Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/30501. This MR in combination with https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11777 will fix that issue.
Edited by Douwe Maan