f3c6789dfb
The code as-is accepts _any_ non-.tmp file as a match for the given page file. Changing the condition to "not .tmp" AND (either page prefix pattern) results in the correct behaviour and chapters download again.