Fix base filename too long