ensure source directory exists