fix build error
Save files to disk for offline play