Change binary file detection with technique taken from GNU Grep, ripgrep and git of checking for nul byte