DetectAction.java: fixed a bug; indexing was checking the read-only
status of files by a call to canRead() rather than canWrite(), toggled
off debugging output of suspected duplicate files' hashes to console.