fix bug with filename setting; fix possible bug with stat()ing if using stdin
1 file changed