[FIX] allow - as input/output file name to represent cin/cout
[FIX] modified samcat to read from cin