Optionally read from stdin. Fix option parsing bug.
Read stdin if no files are listed on command line
Fix: don't include trailing separator in -s mode