[webapi][XWALK-1870] Create /opt/usr/media/Others/ if not exists

 Unit test Platform: [Tizen IVI]
 Unit test result: verified, inst.sh.xpk can successfully execute
Improve syntax and code format