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

ScanR: clear the pixel buffer when an invalid TIFF is found (rebased onto develop)