fix file_contents to pass with git