Uses piped stream to write result on disk (#74).