Fixing a permissions inconsistency
Local and shared permissions were getting mixed up since the shared decorator calls the local one to set delivered file permissions. I moved the logic into the close
methods to ensure they get run in the proper order.
The end goal is to have shared delivery directories be 775 to be writable by vlapipe and almapipe and local delivery directories to 777 to be writable by the user.