Fix getimagesize function.
  - No use RMagick with PNG file.
Fix openHTMLTagHandler and Header functions with image output error case.
  - When an exception occurs, it replaces by a file name.