Whoops, need to mirror the directory structure for all copied and converted assets.
Move common functions in to lib/util which are sourced within other files.