creation directory cgi-bin before template