Fix problem uploading image in forum post reply

get attachment path and create it if doesn't exists...

fix https://github.com/e107inc/e107/issues/432 ,
https://github.com/e107inc/e107/issues/310