container: ExportContainer now receives output to write as argument

If the user wants to write to stdin simply pass it.