Ignores swap files generated during file editing

Closes-Bug: #1255475

Change-Id: I22b6fa351dd3a991943f432c01785c706eff8397