Fixed some bugs

Fixed:
- Regular expresions.
- Async read/writes.

Transfer is broken in windows shares. hashindex_open is not closing fd?