Test for file_contents didn't account for empty strings.