Fix #1240: Non-string values for "export" parameter cause fatal error in AgaviValidator