public function save($scan = true)
	{
		if (!isset($this->contents))
		{
			return false;
		}

		// We can save a stream or string...so see which it is
		$method = (is_resource($this->contents) && get_resource_type($this->contents) == 'stream') ? 'putStream' : 'put';

		if (!$this->$method($this->contents))
		{
			return false;
		}

		if ($scan && !$this->isSafe())
		{
			$this->delete();
			return false;
		}

		return true;
	}