Revive slurp_template
Use File::Spec->rel2abs instead of Cwd::abs_path