fotos: use regex on path instead of parents

Thanks-to: ayke <ayke@kn.cx>