recsha: Fix for filenames containing regex characters

Signed-off-by: Michael Buesch <m@bues.ch>