Fixes #672, explicitly checks type of opts.input_dir
Cleaned up some code at Greg's suggestion
Changed an elif to an else in the process_sff script
Merge pull request #680 from adamrp/process_sff

Fixes #672, explicitly checks type of opts.input_dir