fix processfasta to work on UNIX