Fix filename escaping