Python based script. Find filenames by extensions and remove whitespaces from name.