file.blockreplace: fix typo endswith
Merge pull request #11146 from ze42/dev_blockreplace

file.blockreplace: fix typo endswith