Fixed a bug in the scanner framework which creates false positives with yara.

BUG=
R=parki.san@gmail.com

Review URL: https://codereview.appspot.com/107040043