FREEPBX-7999 - pathinfo treats filename.tar.gz as gzip which is correct,
however we want to also check the filename to ensure we allow tar gzip
files as we have in the past.
FREEPBX-7518 - index uniqueid field in the cdr database