sony: common: update extract file script

* enable fetch file from a local dir use "-d <path>"
* fix directory creation

Change-Id: I200950088ccf523d30d4da4097a7152abc332512