pathvalidate is a python library to validate filename.
