Prevent automatically appending file extension when renaming file
Go to Finder
open Finder Preferences
Uncheck "Show warning before changing an extension"


Optionally, check "Show all filename extensions" to verify that Mac did not automatically append extensions when you add your own.