Added ability to step/skip input files, e.g. stride by 5 in
loading TGA images.