fix for using $wp_filesystem renaming in both core-update.php and update.php