Restructure compiling of .magic files
Handle duplicate .mgc files and concurrent usage
Use filepath package instead of path
Convert magic dir to absolute path

Will ensure no duplicates due to same absolute path but different
relative path.