Raise IOError if ami-reduce binary not found.

Also, annoying auto-whitespace tweaks.