core/misc.rs: read_file: Fixed TODO 'handle errors'