overwrite file in one line