Fixed zero length files issue at Save/Save All