fixed problem when creating outputdir with cloud backends