0068. save_courses() performance improvements

usage of old io.open / file:write() functions