Updated doc examples to open using read binary mode
Docs update and canonical url fix