Fixed blank file size on save.