2009/2/20 Peter Bailey <pbailey / bna.com>:
>  FileUtils.rm(pngfile)  <----- This is what it's complaining about.
> ...
> Exception: Permission denied - EC11SE91-043.png
>

This may sound silly, but do you really have write permissions to
those files? I don't think it's about your script. You can't delete a
file if you don't have write permission to it.

-- 
junegunn.