Prepr: fix escaping of filename strings