sony: common: update extract file script

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

Change-Id: I200950088ccf523d30d4da4097a7152abc332512
Merge pull request #4 from CyanogenMod/cm-11.0

sony: common: update extract file script