Use tempfile for Rubocop inspection