Add a special LOG_OOM() function to log all OutOfMemory errors (i.e. allocations returning NULL).
Prefix symbols and constants names and improve documentation.
Move filesystem-related functions from process.[ch] to file.[ch].