SIXTH AMENDMENT TO CREDIT AGREEMENT dated as of October 9, 2012