HIVE-4093 : Remove sprintf from PTFTranslator and use String.format() (Brock Noland via Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/ptf-windowing@1451943 13f79535-47bb-0310-9956-ffa450edef68