Fix to append problem if file already exists.