Added an stream error listener for saveFile as well.