/**
  * @see FileBackend::getFileStat()
  */
 protected function doGetFileStat(array $params)
 {
     list($srcCont, $srcRel) = $this->resolveStoragePathReal($params['src']);
     if ($srcRel === null) {
         return false;
         // invalid storage path
     }
     $timestamp = false;
     $size = false;
     try {
         $blob = $this->storageClient->getBlobInstance($srcCont, $srcRel);
         $timestamp = wfTimestamp(TS_MW, $blob->LastModified);
         $size = $blob->Size;
         return array('mtime' => $timestamp, 'size' => $size);
     } catch (Exception $e) {
         $stat = null;
     }
     return false;
 }
	/**
	 * @see FileBackend::doFileExists()
	 */
	protected function doGetFileStat( array $params ) {
		// TODO: Refactor
		list( $srcCont, $srcRel ) = $this->resolveStoragePathReal( $params['src'] );
		if ( $srcRel === null ) {
			return false; // invalid storage path
		}

		$timestamp= false;
		$size = false;
		// TODO: need additional checks??
		try {
			// TODO: Maybe use getBlobData()?
			$blob = $this->storageClient->getBlobInstance( $srcCont, $srcRel );
			$timestamp = wfTimestamp( TS_MW, $blob->LastModified ); //TODO: Timezone?
			$size = $blob->Size;
			return array(
				'mtime' => $timestamp,
				'size'  => $size
			);
		} catch ( Exception $e ) { 
			// TODO: Log it? What about different types of exceptions?
		}
		return false;
	}