Handle file upload on tinyMCE