Fix file_put_contents.