rdfpipe: open stdout in buffer mode in Python3 format

Due to sys.stdout being string mode in Python 3 and all of the serializing
happening in bytes mode, we need to open sys.stdout.buffer instead to avoid the
exception "TypeError: must be str, not bytes". Closes #375.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Support rdfpipe local file access for RDFa parser

Local file access for the RDFa parser fails on Python3 due the the use of the
long-deprecated file() builtin; replace with open() and add a unit test to
ensure that rdfpipe is doing what we want.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Fix local microdata parsing in Python3 as well

Another switch from file() to open() for local parsing. Include a new microdata
file and associated unit test for coverage purposes.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Merge pull request #377 from dbs/py3fix

Avoid bytes vs. str error in Python3 #closes 375
Revert "removed md5_term_hash, fixes #240" for PATCH release

This reverts commit f8929f749bedbed6074236b38d54b971efbd71b4.
The commit is kept in branch rm_md5_term_hash
released 4.2.1
back to dev version
Fix ambiguity between Literal(False) and None in Graph.items(...)
Merge pull request #382 from bcogrel/master

Fix ambiguity between Literal(False) and None in Graph.items(...)
test-case for #382
State current version number & give PyPI link

Since the ``README.md`` file serves as the project homepage, this information is useful to add.
Merge pull request #383 from peterjc/patch-1

Current version number &PyPI link in README.md
Test boolean list serialization in Turtle
Fix boolean list serialization in Turtle
Merge pull request #387 from bcogrel/ttl-bool

Bad boolean list serialization to Turtle
tiny doc cleanup
fixing accidental test run due to name
Merge pull request #389 from joernhees/nosefix

fixing accidental test run due to name
failing test for TSV result parsing
fix parsing empty bindings in tsv result