Merge branch 'fix-buffer-parsing' into 'master'

Make buffer parsing more robust

See merge request !3
2 jobs for bliss in 1 minute and 20 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
failed #22448
test2.7

00:01:20

failed #22449
test3.6

00:01:20

 
Name Stage Failure
failed
test3.6 Test There is an unknown failure, please try again
#

$ source activate p36
$ python setup.py test
Traceback (most recent call last):
File "setup.py", line 6, in <module>
with open("README.md") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'README.md'
ERROR: Job failed: exit code 1
failed
test2.7 Test There is an unknown failure, please try again
#

$ source activate p27
$ python setup.py test
Traceback (most recent call last):
File "setup.py", line 6, in <module>
with open("README.md") as f:
IOError: [Errno 2] No such file or directory: 'README.md'
ERROR: Job failed: exit code 1