Support printf-style frame wildcards (e.g. file.%04d.exr).

Hi, this branch adds support for printf-style frame wildcards. See issue #701.