Update pyd3v.py

Started adding checks for adding files to a library.