escape filename in im driver