If a title contains a slash, first create parent directories before saving the ePub.