#111 - improve allowedExtensions check to handle multi-extensions, such as 'tar.gz'