fixed compilation for nginx 1.5.3
fixed creating recorded file name