IsBinaryAccordingToGitAttributes() updated. Closes #1585