Remove CM_File::__toString

Closes #1371

@alexispeter please review