Swarp makes RESAMPLE_DIR if it does not exist