Remove new line at the end of snippet files