Changed copy_file in tools to optionally only accept files with
specified extensions and use this in copy_to_ocr. Change resize and
compression for create_color_dod_pdf