Add support for using '-' as filename for stdin/stdout