Use `-` as file name when using stdin input

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Merge pull request #1758 from jadejs/stdin

Use `-` as file name when using stdin input