[bugfix][mybb] fix upload function when using an absolute path to the upload folder