Normalize uploaded files and folders.