fixed crash loading broken color profile from file-like object

Somebody forgot some brackets and a return long time ago.
Python interpreter freezes and crashes to the OS without this fix.