A house fire in Sydney has resulted in three fatalities, and police have launched an investigation.