I ran into the same AccessDeniedException. The problem was that I had not specified a filename for the --output parameter, only a path. It took me a while to figure that out. AccessDeniedException does not point you in the right direction for a solution.
It looks like you did not specify a filename either.