Fix to buffer parser when saving a newly created file