Factor out rsync copy to a helper method.
Factor rake tasks and add sketch exporting task.