File upload path fixed

Resolved bug 5114.