Fixed file saving formatting that indirectly led to duplicate files being saved.