Fixed reading stdout for listing file sizes