Feat: Add a prepend_if_not_found arg to file.blockreplace

We may also want to add data to the beginning of a file instead of appending to it.

This fixes #8707