A couple of files I mapped to text-mode. Text-mode has require-final-newline set to true. Therefore, whenever I saved a file that was in text-mode it kept adding a newline onto the file.

Switch to fundamental-mode or some other mode that doesn’t have require-final-newline set to true, and things work as you expect.