Fix #511: UnicodeDecodeError if subpage not found