Add InputFormats for both mapred and mapreduce packages.