Add with-write-permissions macro and use it in leiningen.jar/jar to check for correct permissions