fix check for shred executable

Fixes the check for a `shred` executable. 

I've tested this on Ubuntu 12.04 and OS X (where `sh` is really `bash`).

Also included is an automatic trailing whitespace fix which I'm happy to remove if you feel it doesn't belong.