Fix unused argument in file_spec.rb

Noticed this unused argument while working on #2168.