diff --git includes/authorize.inc includes/authorize.inc
index 341fc31..b55a2e2 100644
--- includes/authorize.inc
+++ includes/authorize.inc
@@ -83,7 +83,7 @@ function authorize_filetransfer_form($form_state) {
     $form['connection_settings']['authorize_filetransfer_default']['#options'][$name] = $backend['title'];
     $form['connection_settings'][$name] = array(
       '#type' => 'fieldset',
-      '#attributes' => array('class' => "filetransfer-$name filetransfer"),
+      '#attributes' => array('class' => array("filetransfer-$name", 'filetransfer')),
       '#title' => t('@backend connection settings', array('@backend' => $backend['title'])),
     );
 
diff --git modules/update/update.manager.inc modules/update/update.manager.inc
index c9517fc..90d49a7 100644
--- modules/update/update.manager.inc
+++ modules/update/update.manager.inc
@@ -635,7 +635,7 @@ function update_manager_install_form_submit($form, &$form_state) {
 function _update_manager_extract_directory() {
   $directory = &drupal_static(__FUNCTION__, '');
   if (empty($directory)) {
-    $directory = DRUPAL_ROOT . '/' . file_directory_path('temporary') . '/update-extraction';
+    $directory = 'temporary://update-extraction';
     if (!file_exists($directory)) {
       mkdir($directory);
     }
@@ -708,8 +708,8 @@ function update_manager_file_get($url) {
   }
 
   // Check the cache and download the file if needed.
-  $local = 'temporary://update-cache/' . basename($parsed_url['path']);
-  $cache_directory = DRUPAL_ROOT . '/' . file_directory_path('temporary') . '/update-cache/';
+  $cache_directory = 'temporary://update-cache';
+  $local = $cache_directory . '/' . basename($parsed_url['path']);
 
   if (!file_exists($cache_directory)) {
     mkdir($cache_directory);
