Updated lib: Fixed .getPath(id) for OSX
Updated lib: Added bytecount checking in .detectSize()