generate_data now sends data to `join(data_dir(), 'read_only',
filename)`. #282