Fix stack overflow for error msg with path
Optimize fann_error function
Replace vsprintf with vsnprintf and sprintf with strcpy
Merge pull request #2 from bukka/error_msg_stack_overflow

Fix fann_error buffer overflow