Hack to not crash when we read a truncated image from the scanner
fix bug in image hack
Write a byte array rather than individual bytes
Add test for reduced scan area
Remove CRLF line endings.
Merge branch 'truncated_image_hack'

Conflicts:
	src/test/java/au/com/southsky/jfreesane/SaneSessionTest.java