Make OpenBSD mostly happy with some misc code cleanup.

Most of the changes involved getting rid of sprintf(), strcat(), etc.
There were also some mythfuse and SCons changes.