Fix folders showing up as files