Updating file handling in strava.rb