Support flash from local files for auto_flash_from_pvt.sh.

Now only works on Ubuntu.
Still need have a try on Mac.

PR #46