fcm-backup-*: improve tmpdir management