fix filename conversion