Fixed join() bug and updated according to comments

  * os.path.join() does not support taking a None type
  * be sparse on them lines! Updated according to Langers
    comment.