update permission bit for uploaded file

When nginx and unicorn running in different user, the uploaded file
cannot be read by nginx