Changed FileCopyRepository to create non-existing directories