Converts raw assets dir to encoded folders and files. Also creates indexes json file.