Returns a list of unique file extensions within the supplied directory