This was not working properly when ContentFile was initialized with an unicode string. Thanks Alexey Boriskin for the report and the test. Backport of 34dcf51e06 from master.
This was not working properly when ContentFile was initialized with an unicode string. Thanks Alexey Boriskin for the report and the test. Backport of 34dcf51e06 from master.