Ensure that filename is wrapped properly