fix filename from url