Fix filename overflow