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

Without this fix, the upload form POSTs to /current-page/uploadFile, resulting in a 404 error from Sinatra.