Parse custom migration templates that have a PHP file extension, otherwise use the simpler sprintf method (maintains backwards compatability).