ScanR: clear the pixel buffer when an invalid TIFF is found
Merge pull request #509 from melissalinkert/e283fb8e38042f5b0da2578e7c7fb07f838b92ca

ScanR: clear the pixel buffer when an invalid TIFF is found