Legacy file upload

What's broken on purpose:

The JSON response echoes stored_path (resolved real path) so you can confirm whether a traversal escaped the upload root.