core: fix identify of medium files located in the filezcache.