extract: supports filenames with whitespaces