fixing symlink attack bug present in the application.
fixing symlink attack bug present in the application.

fixes bug 1233305

Change-Id: I14a94b3b5cb27e8d6c5848c212b3b88053aa8aca

changsimon/trove,citrix-openstack-build/trove,citrix-openstack/build-trove,openstack/trove,zhujzhuo/openstack-trove,citrix-openstack/build-trove,fabian4/trove,redhat-openstack/trove,zhujzhuo/openstack-trove,citrix-openstack-build/trove,hplustree/trove,cp16net/trove,fabian4/trove,zhangg/trove,hplustree/trove,denismakogon/trove-guestagent,citrix-openstack-build/trove,denismakogon/trove-guestagent,redhat-openstack/trove,changsimon/trove,changsimon/trove,cp16net/trove,cp16net/trove,fabian4/trove,mmasaki/trove,mmasaki/trove,redhat-openstack/trove,zhujzhuo/openstack-trove,mmasaki/trove,openstack/trove,zhangg/trove,citrix-openstack/build-trove