Fixed logic for checking that local whisper files are valid.
Merge branch 'master' into graphite4