File::replace()

Removed the HTML link
Changed the temporary file generation to use tempnam()
Updated the test case to use assertContains()