Somehow the file was truncated while saving