sony: common: add platform barrier

Change-Id: Ic778c0c7347a52da0777decc294b150ab0638f5a
sony: common: update extract file script

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

Change-Id: I200950088ccf523d30d4da4097a7152abc332512