Adjusted _file_handler() to detect the useFrameExtension attribute, so image sequences are detected correctly.