Correctly add the folder type prefix when creating them