if you're using sublime and I know you're doing you should add this to your sublime config

	"ensure_newline_at_eof_on_save": true,

;)