Enhanced dump credentials to handle more boto versions