Fixed warnings with "<<" operator when loading

I was getting these warnings:

DeprecationWarning: Operator '<<' is deprecated, use '<<=' instead

Changing them to <<= seems to have fixed the problem.
Merge pull request #1232 from kharris/patch-1

Fixed warnings with "<<" operator when loading