get_file_contents: use six.itervalues() instead of dict.itervalues()

This is compatible with both Python 2 and 3.

Change-Id: I7429efe3ee5fd1dabf9bb607dcd3860057a8569f
Merge "get_file_contents: use six.itervalues() instead of dict.itervalues()"