Fixed so that we get the correct access right on uploaded files
New version