[rake] Makes temporary path used by rake tasks consistent.