Bueno... la función nl2br hace justamente lo que pones en str_replace(...) O sea que también podrías haber hecho:
Código PHP:
$motd = "/dir/archivo.html";
$file = fopen($motd, "r");
$content = nl2br(fread($file, filesize($motd)));
fclose($file);
print $content;
saludos