Your comments

According to the pdf standard, all pdf files must be treated as binary files.  This is also what github does.