Just change the current working directory in the script before running the task. No need to move them then.
Here's what I have for what it's worth:
#!/usr/bin/env ruby
require 'rubygems'
require 'systemu'
Dir.chdir(File.expand_path('~/.gitshots'))
cam_warm_up_time = 2
num_snaps = 6
interval = 0.2
systemu "imagesnap -w #{cam_warm_up_time} -t #{interval}" do |cid|
sleep cam_warm_up_time + interval * num_snaps
Process.kill 9, cid
exit 0
end