Use correct path for uploadFile action when current page is in a folder.

Without this fix, the upload form will POST to /current-folder/uploadFile, which results in a 404 page from Sinatra.