Bump barby to 0.5.1

This relase includes encoding fixes for 1.9/2.0
test_helper: use different pdf comparison technique

ChunkyPNG was slow and started giving errors. Instead, we now use a binary diff
to compare files.
Labels can contain newline characters