Bug 1089718 - [music] Make the metadata parser sane

DeviceStorage currently only returns files that have extensions and periods in their names. But if it didn't then this algorithm would be wrong because p2 could be < p1.  I recommend that you fix this now by changing this if to:

```
if (p2 <= p1)
```