Update : document/file.jpg , files unique for session  - ref BT#8186

If $id_session == 0, there should be *no* filename change