Fix Python2.6 compatibility:

Note: We'll need to update the recipes on moosebuild after this is merged.
refs #4163