handle reading sources from stdin
add test for -print-file-name