### Is there an existing issue for this? - [x] I have searched the existing issues ### Current Behavior _No response_ ### Relevant Log Output ```shell ``` ### Expected Behavior _No response_ ### Steps to Reproduce 1. Create a template containing a file "test.tf" with "# ab" 2. `coder templates pull` it into a directory 3. Update the template to have the file say "# c" 4. `coder templates pull` it into the same directory and confirm overwriting 5. Local file now contains "# cb", want "# c" ### Environment - Host OS: Ubuntu 24.04 - Coder version: v2.18.4, CLI version: v2.18.0 ### Additional Context _No response_