I added the following code to `photo->add`:

    $info = $this->getInfo($path);
    if ($info['takestamp']!=='') @touch($path, $info['takestamp']);

But the file seems unchanged.