Use open for temp file in cukes