Utils: Allow for slashes in prefix subdirectories