Update resource extract.rb. tar_flags should accept both string and array args