title: python watchdog got weired file extentions
body: <p>i need to file name with extentions.</p>
  <p>it's my <code>Handler</code></p>
  <pre class="lang-py prettyprint-override"><code>class Handler(FileSystemEventHandler):
      ...
      def on_modified(self, event):
          if not event.is_directory:
              origin_file_path = event.src_path
              file_name = os.path.basename(event.src_path)
              print(file_name)
          return super().on_modified(event)
      ...
  </code></pre>
  <p>it's result like this</p>
  <pre><code>/usr/myproject/test.py
  </code></pre>
  <p>but, suddenly result return changed like this</p>
  <pre><code>/usr/myproject/.test.py.wcP5y9
  </code></pre>
  <p>how can i solved this problem?</p>