[Rakefile] Put tasks in begin...rescue