Temporarily replacing / with % to make file writing easier