Fixed path issue with file uploads