main: fix nasty bug in memcpy
episodes, series: remove misused sizeof's...
aux: fix nasty bug in dl_to_mem function
episodes, series: drop useless typecasts