custom purge_command: fixed vulnerability to malicious file names.

Signed-off-by: Thomas Leibovici <thomas.leibovici@cea.fr>