core/misc.rs: read_file: ~str -> StrBuf