Code cleanup of fsys.c.  Removed branching as much as possible.

Also removed code assignments when possible.

Yes, these are micro-optimizations.  I think they make the code a bit
cleaner myself.
Code cleanup.
Remove unneeded lua_pop() call.