Calculate data-uri file names off the validated content-type