Changed the way save streams works, uses async function