Allow backend consumers to specify file mode

I spin up a loose object backend to do some temporary work and then want to delete that.  Windows is apparently deficient about how it allows one to delete files - if they're set readonly, it's problematic.  Thus, I would like to be able to have the loose object backend just create files that are read/write.