ADD - extract only files with tarball extensions

This makes `docker build` try to extract tarballs when ADDing a file only if the file has one of the known tarball extensions.

Fixes #5935