Separate is_binary and is_printable

Separate is_binary and is_printable. is_binary should be used for checking whether the file is binary or not, is_printable should be used for checking whether it's possible to output a match results safety.