Warning: unlink() expects parameter 2 to be resource, string given in drupal_unlink() (line 2194 of /includes/file.inc)
probably a typo ',' -> '.'
drupal_unlink("public:///rackspace/" . $final_image_name_path);