Replaced defauilt value for islandora_bagit_bag_output_dir config variable with drupal_realpath(file_default_scheme() . '://').
Further work on ISLANDORA-1086: all temporary operations now performed in /tmp (or equivalent) and Bag is copied to destination; also added check for valid Islandora object in bag creation function.