Fixed bugs for saving photos (reading them from the Tempfile object). And fixed bugs in fichier (saving a fichier, deleting a fichier, and a fichier that failed to be created should also delete its parent photo object)