Fix permisions when reading from stdin
2 files changed