Fix page file path generation.