replica gets confused when it tries to change files in a directory that doesn't exist. using mkdir -p instead of just mkdir solves that problem, i think. andrey